<script lang="ts" setup>
// 字典
const t = [
  {
    text: '未采集',
    value: '1001',
    color: '#cd201f'
  },
  {
    text: '训练中',
    value: '1002',
    color: '#3b5999'
  },
  {
    text: '已上线',
    value: '1003',
    color: '#55acee'
  }
]

// 引用声明
defineProps({
  digitalHumanStatus: {
    type: String,
    default: () => ''
  }
})
</script>

<template>
  <div v-for="(item,index) in t" :key="index">
    <a-tag v-if="item.value === digitalHumanStatus" :color="item.color">{{ item.text }}</a-tag>
  </div>
</template>

<style lang="less" scoped>

</style>
